package com.zjw.socket.demo.starter.messageService.service;

import com.zjw.socket.demo.starter.messageService.Message;

import java.util.List;

public interface IMessageDataBase {

  void insertMessageList(Message message);

  List<Message> getMessageList(long userId);

  List<Message> removeMessageList(long userId);

  void removeMessageBy(long toId, long fromId, int type);
}
